package org.example.spring.model;

import lombok.Data;

@Data
public class Model {
    private String name;
    private Integer age;

    public Model() {
    }

    public Model(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "姓名：" + name + "   年龄：" + age;
    }
}
